package com.ttc.ssm.mapper.home;

import com.ttc.ssm.common.DeliveryPage;
import com.ttc.ssm.po.Delivery;
import com.ttc.ssm.po.Invite;

import java.util.List;
import java.util.Map;

/**
 * Created by 58296 on 2016/8/14.
 */
public interface HomeInviteMapper {
    int countRowsByJobId(int job_id) throws Exception;
    int countRowsByCustomerId(int customer_id) throws Exception;
    int insertInvite(Invite invite) throws Exception;

    List<Invite> selectInviteForPage(DeliveryPage deliveryPage) throws Exception;
    int countInviteRows(DeliveryPage deliveryPage) throws Exception;
    int checkIsSend(Map map) throws Exception;
    void updateStatus(Map map) throws Exception;
}
